package pers.dawnyang.modular.system.domain.request.dept;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Data;

/**
 * 
 * @author: dawn yang
 * @date: 2021-02-22 15:46:15
 * 
 */

@Data
public class DeptReqC implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "父级ID不能为空")
    private Long parentId;

    @NotBlank(message = "名称不能为空")
    private String deptName;

    @NotBlank(message = "编码不能为空")
    private String deptCode;

    private Long sort;

    @NotNull(message = "机构类型不能为空")
    private Integer deptType;

    private Integer status;

    private String remark;
}
